package com.xuyh.mqtt.rest;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

@RestController
@RequestMapping("/")
public class MqttTestController {

    @GetMapping(value = "")
    public Object index() {
        return new Date();
    }
}
